package com.cowcode.biz;

import com.cowcode.entity.Question;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * User: ljy
 * Date: 2021/6/26
 * Time: 15:30
 */
public interface QuestionBiz {
    public List<Question> queryAll();
    public List<Question> queryTitle(String uname,String text,Integer sid,Integer page);
    public boolean sendQuestion(Question question);
    public List<Question> queryByPage(int pgae,int pagecount);
    public int getCount();
    public boolean deleteByQid(int qid);
    public List<Question> query6();
}
